package cn.netswap.jeegorilla.service.jpa;

import cn.netswap.jeegorilla.dao.jpa.BaseQuartzConfigJpaDao;
import cn.netswap.jeegorilla.entity.jpa.BaseQuartzConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BaseQuartzConfigJpaService{

    @Autowired
    BaseQuartzConfigJpaDao baseQuartzConfigJpaDao;

    public List<BaseQuartzConfig> findAll(){
        return baseQuartzConfigJpaDao.findAll();
    }

    public BaseQuartzConfig getOne(Long id){
        return baseQuartzConfigJpaDao.getOne(id);
    }
}
